﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Enterprise.Contract
{
    public interface IArticleType
    {
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        bool Exists(int ArticleTypeID);
        /// <summary>
        /// 增加一条数据
        /// </summary>
        int Add(Enterprise.Model.Article_Type model);
        /// <summary>
        /// 更新一条数据
        /// </summary>
        bool Update(Enterprise.Model.Article_Type model);
        /// <summary>
        /// 删除一条数据
        /// </summary>
        bool Delete(int ArticleTypeID);
        /// <summary>
        /// 获得数据列表
        /// </summary>
        DataSet GetList(string strWhere);
    }
}
